package cn.kgc.ubagnet.pojo;

import java.util.ArrayList;
import java.util.List;

public class ProImgExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProImgExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTypeidIsNull() {
            addCriterion("typeId is null");
            return (Criteria) this;
        }

        public Criteria andTypeidIsNotNull() {
            addCriterion("typeId is not null");
            return (Criteria) this;
        }

        public Criteria andTypeidEqualTo(Integer value) {
            addCriterion("typeId =", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidNotEqualTo(Integer value) {
            addCriterion("typeId <>", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidGreaterThan(Integer value) {
            addCriterion("typeId >", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("typeId >=", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidLessThan(Integer value) {
            addCriterion("typeId <", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidLessThanOrEqualTo(Integer value) {
            addCriterion("typeId <=", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidIn(List<Integer> values) {
            addCriterion("typeId in", values, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidNotIn(List<Integer> values) {
            addCriterion("typeId not in", values, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidBetween(Integer value1, Integer value2) {
            addCriterion("typeId between", value1, value2, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidNotBetween(Integer value1, Integer value2) {
            addCriterion("typeId not between", value1, value2, "typeid");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Double value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Double value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Double value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Double value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Double value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Double> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Double> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Double value1, Double value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Double value1, Double value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andVippriceIsNull() {
            addCriterion("vipPrice is null");
            return (Criteria) this;
        }

        public Criteria andVippriceIsNotNull() {
            addCriterion("vipPrice is not null");
            return (Criteria) this;
        }

        public Criteria andVippriceEqualTo(Double value) {
            addCriterion("vipPrice =", value, "vipprice");
            return (Criteria) this;
        }

        public Criteria andVippriceNotEqualTo(Double value) {
            addCriterion("vipPrice <>", value, "vipprice");
            return (Criteria) this;
        }

        public Criteria andVippriceGreaterThan(Double value) {
            addCriterion("vipPrice >", value, "vipprice");
            return (Criteria) this;
        }

        public Criteria andVippriceGreaterThanOrEqualTo(Double value) {
            addCriterion("vipPrice >=", value, "vipprice");
            return (Criteria) this;
        }

        public Criteria andVippriceLessThan(Double value) {
            addCriterion("vipPrice <", value, "vipprice");
            return (Criteria) this;
        }

        public Criteria andVippriceLessThanOrEqualTo(Double value) {
            addCriterion("vipPrice <=", value, "vipprice");
            return (Criteria) this;
        }

        public Criteria andVippriceIn(List<Double> values) {
            addCriterion("vipPrice in", values, "vipprice");
            return (Criteria) this;
        }

        public Criteria andVippriceNotIn(List<Double> values) {
            addCriterion("vipPrice not in", values, "vipprice");
            return (Criteria) this;
        }

        public Criteria andVippriceBetween(Double value1, Double value2) {
            addCriterion("vipPrice between", value1, value2, "vipprice");
            return (Criteria) this;
        }

        public Criteria andVippriceNotBetween(Double value1, Double value2) {
            addCriterion("vipPrice not between", value1, value2, "vipprice");
            return (Criteria) this;
        }

        public Criteria andTotalcountIsNull() {
            addCriterion("totalCount is null");
            return (Criteria) this;
        }

        public Criteria andTotalcountIsNotNull() {
            addCriterion("totalCount is not null");
            return (Criteria) this;
        }

        public Criteria andTotalcountEqualTo(Integer value) {
            addCriterion("totalCount =", value, "totalcount");
            return (Criteria) this;
        }

        public Criteria andTotalcountNotEqualTo(Integer value) {
            addCriterion("totalCount <>", value, "totalcount");
            return (Criteria) this;
        }

        public Criteria andTotalcountGreaterThan(Integer value) {
            addCriterion("totalCount >", value, "totalcount");
            return (Criteria) this;
        }

        public Criteria andTotalcountGreaterThanOrEqualTo(Integer value) {
            addCriterion("totalCount >=", value, "totalcount");
            return (Criteria) this;
        }

        public Criteria andTotalcountLessThan(Integer value) {
            addCriterion("totalCount <", value, "totalcount");
            return (Criteria) this;
        }

        public Criteria andTotalcountLessThanOrEqualTo(Integer value) {
            addCriterion("totalCount <=", value, "totalcount");
            return (Criteria) this;
        }

        public Criteria andTotalcountIn(List<Integer> values) {
            addCriterion("totalCount in", values, "totalcount");
            return (Criteria) this;
        }

        public Criteria andTotalcountNotIn(List<Integer> values) {
            addCriterion("totalCount not in", values, "totalcount");
            return (Criteria) this;
        }

        public Criteria andTotalcountBetween(Integer value1, Integer value2) {
            addCriterion("totalCount between", value1, value2, "totalcount");
            return (Criteria) this;
        }

        public Criteria andTotalcountNotBetween(Integer value1, Integer value2) {
            addCriterion("totalCount not between", value1, value2, "totalcount");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussIsNull() {
            addCriterion("totalDiscuss is null");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussIsNotNull() {
            addCriterion("totalDiscuss is not null");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussEqualTo(Integer value) {
            addCriterion("totalDiscuss =", value, "totaldiscuss");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussNotEqualTo(Integer value) {
            addCriterion("totalDiscuss <>", value, "totaldiscuss");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussGreaterThan(Integer value) {
            addCriterion("totalDiscuss >", value, "totaldiscuss");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussGreaterThanOrEqualTo(Integer value) {
            addCriterion("totalDiscuss >=", value, "totaldiscuss");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussLessThan(Integer value) {
            addCriterion("totalDiscuss <", value, "totaldiscuss");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussLessThanOrEqualTo(Integer value) {
            addCriterion("totalDiscuss <=", value, "totaldiscuss");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussIn(List<Integer> values) {
            addCriterion("totalDiscuss in", values, "totaldiscuss");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussNotIn(List<Integer> values) {
            addCriterion("totalDiscuss not in", values, "totaldiscuss");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussBetween(Integer value1, Integer value2) {
            addCriterion("totalDiscuss between", value1, value2, "totaldiscuss");
            return (Criteria) this;
        }

        public Criteria andTotaldiscussNotBetween(Integer value1, Integer value2) {
            addCriterion("totalDiscuss not between", value1, value2, "totaldiscuss");
            return (Criteria) this;
        }

        public Criteria andPopularityIsNull() {
            addCriterion("popularity is null");
            return (Criteria) this;
        }

        public Criteria andPopularityIsNotNull() {
            addCriterion("popularity is not null");
            return (Criteria) this;
        }

        public Criteria andPopularityEqualTo(Integer value) {
            addCriterion("popularity =", value, "popularity");
            return (Criteria) this;
        }

        public Criteria andPopularityNotEqualTo(Integer value) {
            addCriterion("popularity <>", value, "popularity");
            return (Criteria) this;
        }

        public Criteria andPopularityGreaterThan(Integer value) {
            addCriterion("popularity >", value, "popularity");
            return (Criteria) this;
        }

        public Criteria andPopularityGreaterThanOrEqualTo(Integer value) {
            addCriterion("popularity >=", value, "popularity");
            return (Criteria) this;
        }

        public Criteria andPopularityLessThan(Integer value) {
            addCriterion("popularity <", value, "popularity");
            return (Criteria) this;
        }

        public Criteria andPopularityLessThanOrEqualTo(Integer value) {
            addCriterion("popularity <=", value, "popularity");
            return (Criteria) this;
        }

        public Criteria andPopularityIn(List<Integer> values) {
            addCriterion("popularity in", values, "popularity");
            return (Criteria) this;
        }

        public Criteria andPopularityNotIn(List<Integer> values) {
            addCriterion("popularity not in", values, "popularity");
            return (Criteria) this;
        }

        public Criteria andPopularityBetween(Integer value1, Integer value2) {
            addCriterion("popularity between", value1, value2, "popularity");
            return (Criteria) this;
        }

        public Criteria andPopularityNotBetween(Integer value1, Integer value2) {
            addCriterion("popularity not between", value1, value2, "popularity");
            return (Criteria) this;
        }

        public Criteria andGiveintegralIsNull() {
            addCriterion("giveIntegral is null");
            return (Criteria) this;
        }

        public Criteria andGiveintegralIsNotNull() {
            addCriterion("giveIntegral is not null");
            return (Criteria) this;
        }

        public Criteria andGiveintegralEqualTo(Integer value) {
            addCriterion("giveIntegral =", value, "giveintegral");
            return (Criteria) this;
        }

        public Criteria andGiveintegralNotEqualTo(Integer value) {
            addCriterion("giveIntegral <>", value, "giveintegral");
            return (Criteria) this;
        }

        public Criteria andGiveintegralGreaterThan(Integer value) {
            addCriterion("giveIntegral >", value, "giveintegral");
            return (Criteria) this;
        }

        public Criteria andGiveintegralGreaterThanOrEqualTo(Integer value) {
            addCriterion("giveIntegral >=", value, "giveintegral");
            return (Criteria) this;
        }

        public Criteria andGiveintegralLessThan(Integer value) {
            addCriterion("giveIntegral <", value, "giveintegral");
            return (Criteria) this;
        }

        public Criteria andGiveintegralLessThanOrEqualTo(Integer value) {
            addCriterion("giveIntegral <=", value, "giveintegral");
            return (Criteria) this;
        }

        public Criteria andGiveintegralIn(List<Integer> values) {
            addCriterion("giveIntegral in", values, "giveintegral");
            return (Criteria) this;
        }

        public Criteria andGiveintegralNotIn(List<Integer> values) {
            addCriterion("giveIntegral not in", values, "giveintegral");
            return (Criteria) this;
        }

        public Criteria andGiveintegralBetween(Integer value1, Integer value2) {
            addCriterion("giveIntegral between", value1, value2, "giveintegral");
            return (Criteria) this;
        }

        public Criteria andGiveintegralNotBetween(Integer value1, Integer value2) {
            addCriterion("giveIntegral not between", value1, value2, "giveintegral");
            return (Criteria) this;
        }

        public Criteria andColoridIsNull() {
            addCriterion("colorId is null");
            return (Criteria) this;
        }

        public Criteria andColoridIsNotNull() {
            addCriterion("colorId is not null");
            return (Criteria) this;
        }

        public Criteria andColoridEqualTo(Integer value) {
            addCriterion("colorId =", value, "colorid");
            return (Criteria) this;
        }

        public Criteria andColoridNotEqualTo(Integer value) {
            addCriterion("colorId <>", value, "colorid");
            return (Criteria) this;
        }

        public Criteria andColoridGreaterThan(Integer value) {
            addCriterion("colorId >", value, "colorid");
            return (Criteria) this;
        }

        public Criteria andColoridGreaterThanOrEqualTo(Integer value) {
            addCriterion("colorId >=", value, "colorid");
            return (Criteria) this;
        }

        public Criteria andColoridLessThan(Integer value) {
            addCriterion("colorId <", value, "colorid");
            return (Criteria) this;
        }

        public Criteria andColoridLessThanOrEqualTo(Integer value) {
            addCriterion("colorId <=", value, "colorid");
            return (Criteria) this;
        }

        public Criteria andColoridIn(List<Integer> values) {
            addCriterion("colorId in", values, "colorid");
            return (Criteria) this;
        }

        public Criteria andColoridNotIn(List<Integer> values) {
            addCriterion("colorId not in", values, "colorid");
            return (Criteria) this;
        }

        public Criteria andColoridBetween(Integer value1, Integer value2) {
            addCriterion("colorId between", value1, value2, "colorid");
            return (Criteria) this;
        }

        public Criteria andColoridNotBetween(Integer value1, Integer value2) {
            addCriterion("colorId not between", value1, value2, "colorid");
            return (Criteria) this;
        }

        public Criteria andSizeidIsNull() {
            addCriterion("sizeId is null");
            return (Criteria) this;
        }

        public Criteria andSizeidIsNotNull() {
            addCriterion("sizeId is not null");
            return (Criteria) this;
        }

        public Criteria andSizeidEqualTo(Integer value) {
            addCriterion("sizeId =", value, "sizeid");
            return (Criteria) this;
        }

        public Criteria andSizeidNotEqualTo(Integer value) {
            addCriterion("sizeId <>", value, "sizeid");
            return (Criteria) this;
        }

        public Criteria andSizeidGreaterThan(Integer value) {
            addCriterion("sizeId >", value, "sizeid");
            return (Criteria) this;
        }

        public Criteria andSizeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("sizeId >=", value, "sizeid");
            return (Criteria) this;
        }

        public Criteria andSizeidLessThan(Integer value) {
            addCriterion("sizeId <", value, "sizeid");
            return (Criteria) this;
        }

        public Criteria andSizeidLessThanOrEqualTo(Integer value) {
            addCriterion("sizeId <=", value, "sizeid");
            return (Criteria) this;
        }

        public Criteria andSizeidIn(List<Integer> values) {
            addCriterion("sizeId in", values, "sizeid");
            return (Criteria) this;
        }

        public Criteria andSizeidNotIn(List<Integer> values) {
            addCriterion("sizeId not in", values, "sizeid");
            return (Criteria) this;
        }

        public Criteria andSizeidBetween(Integer value1, Integer value2) {
            addCriterion("sizeId between", value1, value2, "sizeid");
            return (Criteria) this;
        }

        public Criteria andSizeidNotBetween(Integer value1, Integer value2) {
            addCriterion("sizeId not between", value1, value2, "sizeid");
            return (Criteria) this;
        }

        public Criteria andStockIsNull() {
            addCriterion("stock is null");
            return (Criteria) this;
        }

        public Criteria andStockIsNotNull() {
            addCriterion("stock is not null");
            return (Criteria) this;
        }

        public Criteria andStockEqualTo(Integer value) {
            addCriterion("stock =", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockNotEqualTo(Integer value) {
            addCriterion("stock <>", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockGreaterThan(Integer value) {
            addCriterion("stock >", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockGreaterThanOrEqualTo(Integer value) {
            addCriterion("stock >=", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockLessThan(Integer value) {
            addCriterion("stock <", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockLessThanOrEqualTo(Integer value) {
            addCriterion("stock <=", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockIn(List<Integer> values) {
            addCriterion("stock in", values, "stock");
            return (Criteria) this;
        }

        public Criteria andStockNotIn(List<Integer> values) {
            addCriterion("stock not in", values, "stock");
            return (Criteria) this;
        }

        public Criteria andStockBetween(Integer value1, Integer value2) {
            addCriterion("stock between", value1, value2, "stock");
            return (Criteria) this;
        }

        public Criteria andStockNotBetween(Integer value1, Integer value2) {
            addCriterion("stock not between", value1, value2, "stock");
            return (Criteria) this;
        }

        public Criteria andImagesidIsNull() {
            addCriterion("imagesid is null");
            return (Criteria) this;
        }

        public Criteria andImagesidIsNotNull() {
            addCriterion("imagesid is not null");
            return (Criteria) this;
        }

        public Criteria andImagesidEqualTo(Integer value) {
            addCriterion("imagesid =", value, "imagesid");
            return (Criteria) this;
        }

        public Criteria andImagesidNotEqualTo(Integer value) {
            addCriterion("imagesid <>", value, "imagesid");
            return (Criteria) this;
        }

        public Criteria andImagesidGreaterThan(Integer value) {
            addCriterion("imagesid >", value, "imagesid");
            return (Criteria) this;
        }

        public Criteria andImagesidGreaterThanOrEqualTo(Integer value) {
            addCriterion("imagesid >=", value, "imagesid");
            return (Criteria) this;
        }

        public Criteria andImagesidLessThan(Integer value) {
            addCriterion("imagesid <", value, "imagesid");
            return (Criteria) this;
        }

        public Criteria andImagesidLessThanOrEqualTo(Integer value) {
            addCriterion("imagesid <=", value, "imagesid");
            return (Criteria) this;
        }

        public Criteria andImagesidIn(List<Integer> values) {
            addCriterion("imagesid in", values, "imagesid");
            return (Criteria) this;
        }

        public Criteria andImagesidNotIn(List<Integer> values) {
            addCriterion("imagesid not in", values, "imagesid");
            return (Criteria) this;
        }

        public Criteria andImagesidBetween(Integer value1, Integer value2) {
            addCriterion("imagesid between", value1, value2, "imagesid");
            return (Criteria) this;
        }

        public Criteria andImagesidNotBetween(Integer value1, Integer value2) {
            addCriterion("imagesid not between", value1, value2, "imagesid");
            return (Criteria) this;
        }

        public Criteria andPronameIsNull() {
            addCriterion("proname is null");
            return (Criteria) this;
        }

        public Criteria andPronameIsNotNull() {
            addCriterion("proname is not null");
            return (Criteria) this;
        }

        public Criteria andPronameEqualTo(String value) {
            addCriterion("proname =", value, "proname");
            return (Criteria) this;
        }

        public Criteria andPronameNotEqualTo(String value) {
            addCriterion("proname <>", value, "proname");
            return (Criteria) this;
        }

        public Criteria andPronameGreaterThan(String value) {
            addCriterion("proname >", value, "proname");
            return (Criteria) this;
        }

        public Criteria andPronameGreaterThanOrEqualTo(String value) {
            addCriterion("proname >=", value, "proname");
            return (Criteria) this;
        }

        public Criteria andPronameLessThan(String value) {
            addCriterion("proname <", value, "proname");
            return (Criteria) this;
        }

        public Criteria andPronameLessThanOrEqualTo(String value) {
            addCriterion("proname <=", value, "proname");
            return (Criteria) this;
        }

        public Criteria andPronameLike(String value) {
            addCriterion("proname like", value, "proname");
            return (Criteria) this;
        }

        public Criteria andPronameNotLike(String value) {
            addCriterion("proname not like", value, "proname");
            return (Criteria) this;
        }

        public Criteria andPronameIn(List<String> values) {
            addCriterion("proname in", values, "proname");
            return (Criteria) this;
        }

        public Criteria andPronameNotIn(List<String> values) {
            addCriterion("proname not in", values, "proname");
            return (Criteria) this;
        }

        public Criteria andPronameBetween(String value1, String value2) {
            addCriterion("proname between", value1, value2, "proname");
            return (Criteria) this;
        }

        public Criteria andPronameNotBetween(String value1, String value2) {
            addCriterion("proname not between", value1, value2, "proname");
            return (Criteria) this;
        }

        public Criteria andExplainIsNull() {
            addCriterion("explain is null");
            return (Criteria) this;
        }

        public Criteria andExplainIsNotNull() {
            addCriterion("explain is not null");
            return (Criteria) this;
        }

        public Criteria andExplainEqualTo(String value) {
            addCriterion("explain =", value, "explain");
            return (Criteria) this;
        }

        public Criteria andExplainNotEqualTo(String value) {
            addCriterion("explain <>", value, "explain");
            return (Criteria) this;
        }

        public Criteria andExplainGreaterThan(String value) {
            addCriterion("explain >", value, "explain");
            return (Criteria) this;
        }

        public Criteria andExplainGreaterThanOrEqualTo(String value) {
            addCriterion("explain >=", value, "explain");
            return (Criteria) this;
        }

        public Criteria andExplainLessThan(String value) {
            addCriterion("explain <", value, "explain");
            return (Criteria) this;
        }

        public Criteria andExplainLessThanOrEqualTo(String value) {
            addCriterion("explain <=", value, "explain");
            return (Criteria) this;
        }

        public Criteria andExplainLike(String value) {
            addCriterion("explain like", value, "explain");
            return (Criteria) this;
        }

        public Criteria andExplainNotLike(String value) {
            addCriterion("explain not like", value, "explain");
            return (Criteria) this;
        }

        public Criteria andExplainIn(List<String> values) {
            addCriterion("explain in", values, "explain");
            return (Criteria) this;
        }

        public Criteria andExplainNotIn(List<String> values) {
            addCriterion("explain not in", values, "explain");
            return (Criteria) this;
        }

        public Criteria andExplainBetween(String value1, String value2) {
            addCriterion("explain between", value1, value2, "explain");
            return (Criteria) this;
        }

        public Criteria andExplainNotBetween(String value1, String value2) {
            addCriterion("explain not between", value1, value2, "explain");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceIsNull() {
            addCriterion("preferentialPrice is null");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceIsNotNull() {
            addCriterion("preferentialPrice is not null");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceEqualTo(Double value) {
            addCriterion("preferentialPrice =", value, "preferentialprice");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceNotEqualTo(Double value) {
            addCriterion("preferentialPrice <>", value, "preferentialprice");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceGreaterThan(Double value) {
            addCriterion("preferentialPrice >", value, "preferentialprice");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceGreaterThanOrEqualTo(Double value) {
            addCriterion("preferentialPrice >=", value, "preferentialprice");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceLessThan(Double value) {
            addCriterion("preferentialPrice <", value, "preferentialprice");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceLessThanOrEqualTo(Double value) {
            addCriterion("preferentialPrice <=", value, "preferentialprice");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceIn(List<Double> values) {
            addCriterion("preferentialPrice in", values, "preferentialprice");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceNotIn(List<Double> values) {
            addCriterion("preferentialPrice not in", values, "preferentialprice");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceBetween(Double value1, Double value2) {
            addCriterion("preferentialPrice between", value1, value2, "preferentialprice");
            return (Criteria) this;
        }

        public Criteria andPreferentialpriceNotBetween(Double value1, Double value2) {
            addCriterion("preferentialPrice not between", value1, value2, "preferentialprice");
            return (Criteria) this;
        }

        public Criteria andQualityexplainIsNull() {
            addCriterion("qualityExplain is null");
            return (Criteria) this;
        }

        public Criteria andQualityexplainIsNotNull() {
            addCriterion("qualityExplain is not null");
            return (Criteria) this;
        }

        public Criteria andQualityexplainEqualTo(String value) {
            addCriterion("qualityExplain =", value, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andQualityexplainNotEqualTo(String value) {
            addCriterion("qualityExplain <>", value, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andQualityexplainGreaterThan(String value) {
            addCriterion("qualityExplain >", value, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andQualityexplainGreaterThanOrEqualTo(String value) {
            addCriterion("qualityExplain >=", value, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andQualityexplainLessThan(String value) {
            addCriterion("qualityExplain <", value, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andQualityexplainLessThanOrEqualTo(String value) {
            addCriterion("qualityExplain <=", value, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andQualityexplainLike(String value) {
            addCriterion("qualityExplain like", value, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andQualityexplainNotLike(String value) {
            addCriterion("qualityExplain not like", value, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andQualityexplainIn(List<String> values) {
            addCriterion("qualityExplain in", values, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andQualityexplainNotIn(List<String> values) {
            addCriterion("qualityExplain not in", values, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andQualityexplainBetween(String value1, String value2) {
            addCriterion("qualityExplain between", value1, value2, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andQualityexplainNotBetween(String value1, String value2) {
            addCriterion("qualityExplain not between", value1, value2, "qualityexplain");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceIsNull() {
            addCriterion("kuaidiPrice is null");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceIsNotNull() {
            addCriterion("kuaidiPrice is not null");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceEqualTo(Double value) {
            addCriterion("kuaidiPrice =", value, "kuaidiprice");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceNotEqualTo(Double value) {
            addCriterion("kuaidiPrice <>", value, "kuaidiprice");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceGreaterThan(Double value) {
            addCriterion("kuaidiPrice >", value, "kuaidiprice");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceGreaterThanOrEqualTo(Double value) {
            addCriterion("kuaidiPrice >=", value, "kuaidiprice");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceLessThan(Double value) {
            addCriterion("kuaidiPrice <", value, "kuaidiprice");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceLessThanOrEqualTo(Double value) {
            addCriterion("kuaidiPrice <=", value, "kuaidiprice");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceIn(List<Double> values) {
            addCriterion("kuaidiPrice in", values, "kuaidiprice");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceNotIn(List<Double> values) {
            addCriterion("kuaidiPrice not in", values, "kuaidiprice");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceBetween(Double value1, Double value2) {
            addCriterion("kuaidiPrice between", value1, value2, "kuaidiprice");
            return (Criteria) this;
        }

        public Criteria andKuaidipriceNotBetween(Double value1, Double value2) {
            addCriterion("kuaidiPrice not between", value1, value2, "kuaidiprice");
            return (Criteria) this;
        }

        public Criteria andIsmanjianIsNull() {
            addCriterion("isManjian is null");
            return (Criteria) this;
        }

        public Criteria andIsmanjianIsNotNull() {
            addCriterion("isManjian is not null");
            return (Criteria) this;
        }

        public Criteria andIsmanjianEqualTo(Integer value) {
            addCriterion("isManjian =", value, "ismanjian");
            return (Criteria) this;
        }

        public Criteria andIsmanjianNotEqualTo(Integer value) {
            addCriterion("isManjian <>", value, "ismanjian");
            return (Criteria) this;
        }

        public Criteria andIsmanjianGreaterThan(Integer value) {
            addCriterion("isManjian >", value, "ismanjian");
            return (Criteria) this;
        }

        public Criteria andIsmanjianGreaterThanOrEqualTo(Integer value) {
            addCriterion("isManjian >=", value, "ismanjian");
            return (Criteria) this;
        }

        public Criteria andIsmanjianLessThan(Integer value) {
            addCriterion("isManjian <", value, "ismanjian");
            return (Criteria) this;
        }

        public Criteria andIsmanjianLessThanOrEqualTo(Integer value) {
            addCriterion("isManjian <=", value, "ismanjian");
            return (Criteria) this;
        }

        public Criteria andIsmanjianIn(List<Integer> values) {
            addCriterion("isManjian in", values, "ismanjian");
            return (Criteria) this;
        }

        public Criteria andIsmanjianNotIn(List<Integer> values) {
            addCriterion("isManjian not in", values, "ismanjian");
            return (Criteria) this;
        }

        public Criteria andIsmanjianBetween(Integer value1, Integer value2) {
            addCriterion("isManjian between", value1, value2, "ismanjian");
            return (Criteria) this;
        }

        public Criteria andIsmanjianNotBetween(Integer value1, Integer value2) {
            addCriterion("isManjian not between", value1, value2, "ismanjian");
            return (Criteria) this;
        }

        public Criteria andScrap1IsNull() {
            addCriterion("scrap1 is null");
            return (Criteria) this;
        }

        public Criteria andScrap1IsNotNull() {
            addCriterion("scrap1 is not null");
            return (Criteria) this;
        }

        public Criteria andScrap1EqualTo(String value) {
            addCriterion("scrap1 =", value, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap1NotEqualTo(String value) {
            addCriterion("scrap1 <>", value, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap1GreaterThan(String value) {
            addCriterion("scrap1 >", value, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap1GreaterThanOrEqualTo(String value) {
            addCriterion("scrap1 >=", value, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap1LessThan(String value) {
            addCriterion("scrap1 <", value, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap1LessThanOrEqualTo(String value) {
            addCriterion("scrap1 <=", value, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap1Like(String value) {
            addCriterion("scrap1 like", value, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap1NotLike(String value) {
            addCriterion("scrap1 not like", value, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap1In(List<String> values) {
            addCriterion("scrap1 in", values, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap1NotIn(List<String> values) {
            addCriterion("scrap1 not in", values, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap1Between(String value1, String value2) {
            addCriterion("scrap1 between", value1, value2, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap1NotBetween(String value1, String value2) {
            addCriterion("scrap1 not between", value1, value2, "scrap1");
            return (Criteria) this;
        }

        public Criteria andScrap2IsNull() {
            addCriterion("scrap2 is null");
            return (Criteria) this;
        }

        public Criteria andScrap2IsNotNull() {
            addCriterion("scrap2 is not null");
            return (Criteria) this;
        }

        public Criteria andScrap2EqualTo(String value) {
            addCriterion("scrap2 =", value, "scrap2");
            return (Criteria) this;
        }

        public Criteria andScrap2NotEqualTo(String value) {
            addCriterion("scrap2 <>", value, "scrap2");
            return (Criteria) this;
        }

        public Criteria andScrap2GreaterThan(String value) {
            addCriterion("scrap2 >", value, "scrap2");
            return (Criteria) this;
        }

        public Criteria andScrap2GreaterThanOrEqualTo(String value) {
            addCriterion("scrap2 >=", value, "scrap2");
            return (Criteria) this;
        }

        public Criteria andScrap2LessThan(String value) {
            addCriterion("scrap2 <", value, "scrap2");
            return (Criteria) this;
        }

        public Criteria andScrap2LessThanOrEqualTo(String value) {
            addCriterion("scrap2 <=", value, "scrap2");
            return (Criteria) this;
        }

        public Criteria andScrap2Like(String value) {
            addCriterion("scrap2 like", value, "scrap2");
            return (Criteria) this;
        }

        public Criteria andScrap2NotLike(String value) {
            addCriterion("scrap2 not like", value, "scrap2");
            return (Criteria) this;
        }

        public Criteria andScrap2In(List<String> values) {
            addCriterion("scrap2 in", values, "scrap2");
            return (Criteria) this;
        }

        public Criteria andScrap2NotIn(List<String> values) {
            addCriterion("scrap2 not in", values, "scrap2");
            return (Criteria) this;
        }

        public Criteria andScrap2Between(String value1, String value2) {
            addCriterion("scrap2 between", value1, value2, "scrap2");
            return (Criteria) this;
        }

        public Criteria andScrap2NotBetween(String value1, String value2) {
            addCriterion("scrap2 not between", value1, value2, "scrap2");
            return (Criteria) this;
        }

        public Criteria andImg1IsNull() {
            addCriterion("img1 is null");
            return (Criteria) this;
        }

        public Criteria andImg1IsNotNull() {
            addCriterion("img1 is not null");
            return (Criteria) this;
        }

        public Criteria andImg1EqualTo(String value) {
            addCriterion("img1 =", value, "img1");
            return (Criteria) this;
        }

        public Criteria andImg1NotEqualTo(String value) {
            addCriterion("img1 <>", value, "img1");
            return (Criteria) this;
        }

        public Criteria andImg1GreaterThan(String value) {
            addCriterion("img1 >", value, "img1");
            return (Criteria) this;
        }

        public Criteria andImg1GreaterThanOrEqualTo(String value) {
            addCriterion("img1 >=", value, "img1");
            return (Criteria) this;
        }

        public Criteria andImg1LessThan(String value) {
            addCriterion("img1 <", value, "img1");
            return (Criteria) this;
        }

        public Criteria andImg1LessThanOrEqualTo(String value) {
            addCriterion("img1 <=", value, "img1");
            return (Criteria) this;
        }

        public Criteria andImg1Like(String value) {
            addCriterion("img1 like", value, "img1");
            return (Criteria) this;
        }

        public Criteria andImg1NotLike(String value) {
            addCriterion("img1 not like", value, "img1");
            return (Criteria) this;
        }

        public Criteria andImg1In(List<String> values) {
            addCriterion("img1 in", values, "img1");
            return (Criteria) this;
        }

        public Criteria andImg1NotIn(List<String> values) {
            addCriterion("img1 not in", values, "img1");
            return (Criteria) this;
        }

        public Criteria andImg1Between(String value1, String value2) {
            addCriterion("img1 between", value1, value2, "img1");
            return (Criteria) this;
        }

        public Criteria andImg1NotBetween(String value1, String value2) {
            addCriterion("img1 not between", value1, value2, "img1");
            return (Criteria) this;
        }

        public Criteria andImg2IsNull() {
            addCriterion("img2 is null");
            return (Criteria) this;
        }

        public Criteria andImg2IsNotNull() {
            addCriterion("img2 is not null");
            return (Criteria) this;
        }

        public Criteria andImg2EqualTo(String value) {
            addCriterion("img2 =", value, "img2");
            return (Criteria) this;
        }

        public Criteria andImg2NotEqualTo(String value) {
            addCriterion("img2 <>", value, "img2");
            return (Criteria) this;
        }

        public Criteria andImg2GreaterThan(String value) {
            addCriterion("img2 >", value, "img2");
            return (Criteria) this;
        }

        public Criteria andImg2GreaterThanOrEqualTo(String value) {
            addCriterion("img2 >=", value, "img2");
            return (Criteria) this;
        }

        public Criteria andImg2LessThan(String value) {
            addCriterion("img2 <", value, "img2");
            return (Criteria) this;
        }

        public Criteria andImg2LessThanOrEqualTo(String value) {
            addCriterion("img2 <=", value, "img2");
            return (Criteria) this;
        }

        public Criteria andImg2Like(String value) {
            addCriterion("img2 like", value, "img2");
            return (Criteria) this;
        }

        public Criteria andImg2NotLike(String value) {
            addCriterion("img2 not like", value, "img2");
            return (Criteria) this;
        }

        public Criteria andImg2In(List<String> values) {
            addCriterion("img2 in", values, "img2");
            return (Criteria) this;
        }

        public Criteria andImg2NotIn(List<String> values) {
            addCriterion("img2 not in", values, "img2");
            return (Criteria) this;
        }

        public Criteria andImg2Between(String value1, String value2) {
            addCriterion("img2 between", value1, value2, "img2");
            return (Criteria) this;
        }

        public Criteria andImg2NotBetween(String value1, String value2) {
            addCriterion("img2 not between", value1, value2, "img2");
            return (Criteria) this;
        }

        public Criteria andImg3IsNull() {
            addCriterion("img3 is null");
            return (Criteria) this;
        }

        public Criteria andImg3IsNotNull() {
            addCriterion("img3 is not null");
            return (Criteria) this;
        }

        public Criteria andImg3EqualTo(String value) {
            addCriterion("img3 =", value, "img3");
            return (Criteria) this;
        }

        public Criteria andImg3NotEqualTo(String value) {
            addCriterion("img3 <>", value, "img3");
            return (Criteria) this;
        }

        public Criteria andImg3GreaterThan(String value) {
            addCriterion("img3 >", value, "img3");
            return (Criteria) this;
        }

        public Criteria andImg3GreaterThanOrEqualTo(String value) {
            addCriterion("img3 >=", value, "img3");
            return (Criteria) this;
        }

        public Criteria andImg3LessThan(String value) {
            addCriterion("img3 <", value, "img3");
            return (Criteria) this;
        }

        public Criteria andImg3LessThanOrEqualTo(String value) {
            addCriterion("img3 <=", value, "img3");
            return (Criteria) this;
        }

        public Criteria andImg3Like(String value) {
            addCriterion("img3 like", value, "img3");
            return (Criteria) this;
        }

        public Criteria andImg3NotLike(String value) {
            addCriterion("img3 not like", value, "img3");
            return (Criteria) this;
        }

        public Criteria andImg3In(List<String> values) {
            addCriterion("img3 in", values, "img3");
            return (Criteria) this;
        }

        public Criteria andImg3NotIn(List<String> values) {
            addCriterion("img3 not in", values, "img3");
            return (Criteria) this;
        }

        public Criteria andImg3Between(String value1, String value2) {
            addCriterion("img3 between", value1, value2, "img3");
            return (Criteria) this;
        }

        public Criteria andImg3NotBetween(String value1, String value2) {
            addCriterion("img3 not between", value1, value2, "img3");
            return (Criteria) this;
        }

        public Criteria andImg4IsNull() {
            addCriterion("img4 is null");
            return (Criteria) this;
        }

        public Criteria andImg4IsNotNull() {
            addCriterion("img4 is not null");
            return (Criteria) this;
        }

        public Criteria andImg4EqualTo(String value) {
            addCriterion("img4 =", value, "img4");
            return (Criteria) this;
        }

        public Criteria andImg4NotEqualTo(String value) {
            addCriterion("img4 <>", value, "img4");
            return (Criteria) this;
        }

        public Criteria andImg4GreaterThan(String value) {
            addCriterion("img4 >", value, "img4");
            return (Criteria) this;
        }

        public Criteria andImg4GreaterThanOrEqualTo(String value) {
            addCriterion("img4 >=", value, "img4");
            return (Criteria) this;
        }

        public Criteria andImg4LessThan(String value) {
            addCriterion("img4 <", value, "img4");
            return (Criteria) this;
        }

        public Criteria andImg4LessThanOrEqualTo(String value) {
            addCriterion("img4 <=", value, "img4");
            return (Criteria) this;
        }

        public Criteria andImg4Like(String value) {
            addCriterion("img4 like", value, "img4");
            return (Criteria) this;
        }

        public Criteria andImg4NotLike(String value) {
            addCriterion("img4 not like", value, "img4");
            return (Criteria) this;
        }

        public Criteria andImg4In(List<String> values) {
            addCriterion("img4 in", values, "img4");
            return (Criteria) this;
        }

        public Criteria andImg4NotIn(List<String> values) {
            addCriterion("img4 not in", values, "img4");
            return (Criteria) this;
        }

        public Criteria andImg4Between(String value1, String value2) {
            addCriterion("img4 between", value1, value2, "img4");
            return (Criteria) this;
        }

        public Criteria andImg4NotBetween(String value1, String value2) {
            addCriterion("img4 not between", value1, value2, "img4");
            return (Criteria) this;
        }

        public Criteria andImg5IsNull() {
            addCriterion("img5 is null");
            return (Criteria) this;
        }

        public Criteria andImg5IsNotNull() {
            addCriterion("img5 is not null");
            return (Criteria) this;
        }

        public Criteria andImg5EqualTo(String value) {
            addCriterion("img5 =", value, "img5");
            return (Criteria) this;
        }

        public Criteria andImg5NotEqualTo(String value) {
            addCriterion("img5 <>", value, "img5");
            return (Criteria) this;
        }

        public Criteria andImg5GreaterThan(String value) {
            addCriterion("img5 >", value, "img5");
            return (Criteria) this;
        }

        public Criteria andImg5GreaterThanOrEqualTo(String value) {
            addCriterion("img5 >=", value, "img5");
            return (Criteria) this;
        }

        public Criteria andImg5LessThan(String value) {
            addCriterion("img5 <", value, "img5");
            return (Criteria) this;
        }

        public Criteria andImg5LessThanOrEqualTo(String value) {
            addCriterion("img5 <=", value, "img5");
            return (Criteria) this;
        }

        public Criteria andImg5Like(String value) {
            addCriterion("img5 like", value, "img5");
            return (Criteria) this;
        }

        public Criteria andImg5NotLike(String value) {
            addCriterion("img5 not like", value, "img5");
            return (Criteria) this;
        }

        public Criteria andImg5In(List<String> values) {
            addCriterion("img5 in", values, "img5");
            return (Criteria) this;
        }

        public Criteria andImg5NotIn(List<String> values) {
            addCriterion("img5 not in", values, "img5");
            return (Criteria) this;
        }

        public Criteria andImg5Between(String value1, String value2) {
            addCriterion("img5 between", value1, value2, "img5");
            return (Criteria) this;
        }

        public Criteria andImg5NotBetween(String value1, String value2) {
            addCriterion("img5 not between", value1, value2, "img5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}